package com.itheiya.service;



import com.hmall.common.dto.PageDTO;
import com.itheiya.pojo.ItemDoc;
import com.itheiya.pojo.RequestParams;

import java.util.List;
import java.util.Map;

public interface ItermIdexService  {
    //自动补全

    List<String> findSuggestion(String key);

    //聚合搜索

    Map<String, List<String>> searchItemFilters(RequestParams requestParams);

    //综合条件过滤
    PageDTO<ItemDoc> multipleTermFilter(RequestParams requestParams);


    void deleteById(Long id);

    void insertById(Long id);
}
